OPC Studio User's Guide and Reference
Implicit Type Conversion Operator (DAVtqPayload<TValue>)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.ComplexEventProcessing Namespace > DAVtqPayload<TValue> Class : Implicit Type Conversion Operator
Data value, timestamp and quality.
Converts OPC-DA data value, timestamp and quality to an event payload.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Operator Widening CType( _
   ByVal vtq As DAVtq(Of TValue) _
) As DAVtqPayload(Of TValue)
'Usage
 
[CanBeNull()]
public DAVtqPayload<TValue> operator implicit( 
   DAVtq<TValue> vtq
)
[CanBeNull()]
public:
operator DAVtqPayload<TValue^>^ ( 
   DAVtq<TValue^>^ vtq
)

Parameters

vtq
Data value, timestamp and quality.

Return Value

Returns an event payload containing the OPC-DA data value, timestamp and quality.
Remarks

This operator is equivalent to FromDAVtq.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also